// import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'


import App from './App.vue'
import router from './router'
//定于全局样式
import '@/styles/common.scss'
//定义全局插件
import { lazyPlugin } from './directives/lazyPlugin'
//注册插件
import {componentPlugin} from '@/components/index'
const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(lazyPlugin)
app.use(componentPlugin)
app.mount('#app')

